package com.ssm.mall.service;

import com.ssm.mall.common.Res;
import com.ssm.mall.dao.entity.User;

public interface IUserService {
    Res<User> login(String username, String password);

    Res registry(User user);

    Res checkValid(String check, String type);

    Res forgetGetQuestion(String username);
}
